package org.dark.fund.api;


import org.dark.fund.api.dto.UserAddDTO;
import org.dark.fund.api.dto.UserDeleteDTO;
import org.dark.fund.dao.dataobject.UserBaseInfo;

/**
 * @author <a href="mailto:chenxilzx1@gmail.com">theonefx</a>
 */
public interface UserService {

    UserBaseInfo getUserBaseInfo(String userId);

    boolean passwordCheck(String userId, String password);

    boolean registerUser(UserAddDTO userAddDTO);

    boolean unregisterUser(UserDeleteDTO userDeleteDTO);

}
